var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/', function(req, res, next) {
  res.render('index', { title: 'Express' });
});

router.get('/test', function(req, res){
	res.render('test',{name:'zhangl',email:'244680806@qq.com'})
});

router.get('/list', function(req, res){
	res.render('list',{title:'List',items:[1991,'zhang','express','Node.js']})
});

module.exports = router;
